﻿@model IPagedList<ProductAdvisory>
<div class="advisory-container">
    <ul>
        @foreach (var o in Model)
        {
            <li>
                <div class="advisory-avatar">
                    <span class="advisory-username">@o.NickName</span><span class="color-gray">咨询</span>
                    <span class="advisory-question"><@o.Question</span> <span class="advisory-time">@o.CreatedOn.ToString("yyyy-MM-dd HH:mm:ss")</span>
                </div>
                <div class="advisory-content">
                    <p>@o.Answer</p>
                </div>
            </li>
        }
    </ul>
    <div>@Html.Pager(Model)</div>
</div>
